<template>
	<view class="title">
		<u-cell-group>
			<u-cell :isLink="isLink">
				<view slot="title" class="u-slot-title" style="margin-left:-180rpx;width: 400rpx;">
					<u-button type="primary" customStyle="width:200rpx;padding-left:50rpx" size="mini" shape="circle"
						:text="name"></u-button>
				</view>
			</u-cell>
		</u-cell-group>
	</view>
</template>

<script>
	export default {
		name: "list-title",
		props: {
			name: {
				type: String,
				default: ""
			},
			isLink: {
				type: Boolean,
				default: false
			}

		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.title {
		font-size: 36rpx;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-weight: bold;
		line-height: 70rpx;
		// #ifdef MP-WEIXIN
		display: inline;
		// #endif
	}
</style>
